package com.antler.smt.request.portal;

import com.antler.smt.request.base.BasePageReq;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 服务商个人中心资料修改
 *
 * @author zhangyi
 * @date 2018/4/14 12:24
 */
public class SupplierPersonReq extends BasePageReq {

    /**
     * 头像图片id
     */
    @ApiModelProperty(value = "头像图片id", name = "headImageAttachmentId", required = true)
    private Long headImageAttachmentId;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", name = "nickName", required = true)
    private String nickName;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称", name = "companyName", required = true)
    private String companyName;

    /**
     * 统一社会信用码
     */
    @ApiModelProperty(value = "统一社会信用码", name = "creditCode", required = true)
    private String creditCode;

    /**
     * 公司地址详细地址
     */
    @ApiModelProperty(value = "公司地址详细地址", name = "detailAddress", required = true)
    private String detailAddress;



    /**
     * 法人
     */
    @ApiModelProperty(value = "法人", name = "legalPerson", required = true)
    private String legalPerson;

    /**
     * 成立时间
     */
    @ApiModelProperty(value = "成立时间", name = "foundTime", required = true)
    private Date foundTime;

    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人", name = "linkMan", required = true)
    private String linkMan;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话", name = "linkPhone", required = true)
    private String linkPhone;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", name = "linkEmail", required = true)
    private String linkEmail;

    /**
     * 对公账户
     */
    @ApiModelProperty(value = "对公账户", name = "publicAccount", required = true)
    private String publicAccount;

    public Long getHeadImageAttachmentId() {
        return headImageAttachmentId;
    }

    public void setHeadImageAttachmentId(Long headImageAttachmentId) {
        this.headImageAttachmentId = headImageAttachmentId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getFoundTime() {
        return foundTime;
    }

    public void setFoundTime(Date foundTime) {
        this.foundTime = foundTime;
    }

    public String getLinkMan() {
        return linkMan;
    }

    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getLinkEmail() {
        return linkEmail;
    }

    public void setLinkEmail(String linkEmail) {
        this.linkEmail = linkEmail;
    }

    public String getPublicAccount() {
        return publicAccount;
    }

    public void setPublicAccount(String publicAccount) {
        this.publicAccount = publicAccount;
    }
}
